package blue.blog;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.blue.core.file.FileScanner;


public class PicMain
{
	public static void main(String[] args)
	{
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring/*.xml");
		
		FileScanner scanner = ctx.getBean(FileScanner.class);
		scanner.scanPath("/home/blog/upload/2018/02");
		
		ctx.close();
	}
}
